An efficient algorithm for ray casting of CSG animation frames
نویسندگان
چکیده
This paper presents a new algorithm to generate ray casted CSG animation frames. We consider sequences of frames where only the objects can move, in this way, we take advantage of the high screen area coherence of this kind of animation. A new deenition of bounding box allows us to reduce the number of pixels to be computed for the frames after the rst. We associate with each box a CSG sub-tree encapsulated and two ags denoting if the box has changed in the current frame and if it will change in the next frame, respectively. We show with two examples the advantages of our technique when compared with an algorithm which entirely renders each frame of an animation. For the test sequences the intersections with CSG objects may be reduced about up to one fth, while the rendering may be computed up to four times faster.
منابع مشابه
Constructive Solid Geometry for Triangulated Polyhedra Constructive Solid Geometry for Triangulated Polyhedra
Triangulated polyhedra are simpler to process than arbitrary polyhedra for many graphics operations. Algorithms that compute the boundary representation of a constructive solid geometry (csg) model, however, may perform poorly if the model involves triangulated polyhedral primitives. A new csg algorithm speciically tailored to triangulated primitives is presented. The key features of this algor...
متن کاملAcsgm { an Adaptive Csg Meshing Algorithm
We present a new algorithm, called ACSGM (which is short for Adaptive CSG Mesher), that converts scenes in CSG representation into a boundary representation (BREP) based on at triangles. The algorithm is based on the marching cube algorithm, but instead of working at a xed resolution, the size of the cubes used in the meshing process is changed adaptively. Quite diierent from the marching cube ...
متن کامل1 Correct Shading of Regularized CSG Solids Using a Depth - Interval Buffer
A convenient interactive design environment requires efficient facilities for shading solid models represented in CSG. Shading techniques based on boundary eval uation or ray casting that require calculations of geometric intersections are too ineffi cient for interactive graphics when eSG primitives with curved (parametric) surfaces are involved. Projective approaches, where the primitive su...
متن کاملCSG Operations of Arbitrary Primitives with Interval Arithmetic and Real-Time Ray Casting
We apply Knoll et al.’s algorithm [9] to interactively ray-cast constructive solid geometry (CSG) objects of arbitrary primitives represented as implicit functions. Whereas modeling globally with implicit surfaces suffers from a lack of control, implicits are well-suited for arbitrary primitives and can be combined through various operations. The conventional way to represent union and intersec...
متن کاملAn Improved Ray Shooting Method for Constructive Solid Geometry Models Via Tree Contraction
In the Constructive Solid Geometry (CSG) representation a geometric object is described as the hierarchical combination of a number of primitive shapes using the operations union, intersection, subtraction, and exclusive-union. This hierarchical description deenes an expression tree, T, called the CSG tree, with leaves associated with primitive shapes, internal nodes associated with operations,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Journal of Visualization and Computer Animation
دوره 9 شماره
صفحات -
تاریخ انتشار 1998